package com.project.light.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Table(name = "B_Light")
public class Light implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    @Column(name = "StationID")
    private Integer stationID;

    /**
     * 品名
     */
    @Column(name = "ClassName")
    private String className;

    /**
     * 类型
     */
    @Column(name = "TypeName")
    private String typeName;

    /**
     * 型号规格
     */
    @Column(name = "ModelNmae")
    private String modelNmae;

    /**
     * 功率
     */
    @Column(name = "Power")
    private Double power;

}
